package com.lh.tams.controller.vo;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.lh.tams.util.diy.CustomDateSerializer;

/**
 * 案件查询模块中  列表字段封装
 * @author liulin
 *
 */
public class CaseVo {
	/** 案件编号 */
	private String caseNo;
	/** 报警人 */
	private String alarmName;
	/** 报警电话 */
	private String alarmPhone;
	/** 案发地址 */
	private String caseAddress;
	/** 报警时间 */
	private Date alarmDate;
	/** 处理类型 */
	private int dealType=-1;
	/** 审批状态 */
	private int checkType=-1;
	/** 是否分配 */
	private int isDistribute=-1;
	
	
	/** 是否立案 */
	private int isRegister=-1;
	/** 是否鉴定 */
	private int isIdentify=-1;
	/** 是否认定 */
	private int isConfirm=-1;
	/** 是否调解 */
	private int isDeal=-1;
	/** 是否结案 */
	private int isClose=-1;
	/** 是否归档 */
	private int isRecord=-1;
	
	/** 流程操作天数 */
	private long registerDate;
	private long dealDate;
	private long confirmDate;
	private long identifyDate;
	private long recordDate;
	
	/** 假设流程没有操作完，流程还剩余多少天数 */
	private long registerLeftDate = -200;
	private long dealLeftDate = -200;
	private long confirmLeftDate = -200;
	private long identifyLeftDate = -200;
	private long recordLeftDate = -200;
	
	
	public long getIdentifyDate() {
		return identifyDate;
	}
	public void setIdentifyDate(long identifyDate) {
		this.identifyDate = identifyDate;
	}
	public long getRecordDate() {
		return recordDate;
	}
	public void setRecordDate(long recordDate) {
		this.recordDate = recordDate;
	}
	public long getRegisterLeftDate() {
		return registerLeftDate;
	}
	public void setRegisterLeftDate(long registerLeftDate) {
		this.registerLeftDate = registerLeftDate;
	}
	public long getDealLeftDate() {
		return dealLeftDate;
	}
	public void setDealLeftDate(long dealLeftDate) {
		this.dealLeftDate = dealLeftDate;
	}
	public long getConfirmLeftDate() {
		return confirmLeftDate;
	}
	public void setConfirmLeftDate(long confirmLeftDate) {
		this.confirmLeftDate = confirmLeftDate;
	}
	public long getIdentifyLeftDate() {
		return identifyLeftDate;
	}
	public void setIdentifyLeftDate(long identifyLeftDate) {
		this.identifyLeftDate = identifyLeftDate;
	}
	public long getRecordLeftDate() {
		return recordLeftDate;
	}
	public void setRecordLeftDate(long recordLeftDate) {
		this.recordLeftDate = recordLeftDate;
	}
	public String getCaseNo() {
		return caseNo;
	}
	public void setCaseNo(String caseNo) {
		this.caseNo = caseNo;
	}
	public String getAlarmName() {
		return alarmName;
	}
	public void setAlarmName(String alarmName) {
		this.alarmName = alarmName;
	}
	public String getAlarmPhone() {
		return alarmPhone;
	}
	public void setAlarmPhone(String alarmPhone) {
		this.alarmPhone = alarmPhone;
	}
	@JsonSerialize(using=CustomDateSerializer.class)
	public Date getAlarmDate() {
		return alarmDate;
	}
	public void setAlarmDate(Date alarmDate) {
		this.alarmDate = alarmDate;
	}
	public int getDealType() {
		return dealType;
	}
	public void setDealType(int dealType) {
		this.dealType = dealType;
	}
	public int getCheckType() {
		return checkType;
	}
	public void setCheckType(int checkType) {
		this.checkType = checkType;
	}
	public int getIsDistribute() {
		return isDistribute;
	}
	public void setIsDistribute(int isDistribute) {
		this.isDistribute = isDistribute;
	}
	public int getIsRegister() {
		return isRegister;
	}
	public void setIsRegister(int isRegister) {
		this.isRegister = isRegister;
	}
	public int getIsIdentify() {
		return isIdentify;
	}
	public void setIsIdentify(int isIdentify) {
		this.isIdentify = isIdentify;
	}
	public int getIsConfirm() {
		return isConfirm;
	}
	public void setIsConfirm(int isConfirm) {
		this.isConfirm = isConfirm;
	}
	public int getIsDeal() {
		return isDeal;
	}
	public void setIsDeal(int isDeal) {
		this.isDeal = isDeal;
	}
	public int getIsClose() {
		return isClose;
	}
	public void setIsClose(int isClose) {
		this.isClose = isClose;
	}
	public int getIsRecord() {
		return isRecord;
	}
	public void setIsRecord(int isRecord) {
		this.isRecord = isRecord;
	}
	public String getCaseAddress() {
		return caseAddress;
	}
	public void setCaseAddress(String caseAddress) {
		this.caseAddress = caseAddress;
	}
	public long getRegisterDate() {
		return registerDate;
	}
	public void setRegisterDate(long registerDate) {
		this.registerDate = registerDate;
	}
	public long getDealDate() {
		return dealDate;
	}
	public void setDealDate(long dealDate) {
		this.dealDate = dealDate;
	}
	public long getConfirmDate() {
		return confirmDate;
	}
	public void setConfirmDate(long confirmDate) {
		this.confirmDate = confirmDate;
	}	
}
